package com.mars.boss.weixin.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.mars.boss.weixin.entity.WeixinNewsArticle;
import com.mars.boss.weixin.mapper.WeixinNewsArticleMapper;
import com.mars.boss.weixin.service.WeixinNewsArticleService;
import com.mars.service.support.BaseService;

@Service
public class WeixinNewsArticleServiceImpl extends BaseService<WeixinNewsArticle, Long> implements WeixinNewsArticleService {

	@Autowired
	private WeixinNewsArticleMapper mapper ;
	
	@Override
	public List<WeixinNewsArticle> getArticlesByCategoryId(Long categoryId) {
		return this.mapper.getArticlesByCategoryId(categoryId) ;
	}

}
